﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfAgentDjackInfo.aspx.cs" Inherits="msBsc.WebUi.wMall.Seller.wfAgentDjackInfo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>地接客信息</title>
    <link href="/themes/wStyle1/css/sLayout.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/sHead.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/sFoot.css" rel="stylesheet" />
    <link href="/jqPlugin/laydate/skins/default/laydate.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/from.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/Seller/sDjackInfo.css" rel="stylesheet" />

    <link href="/jqPlugin/layer/skin/layer.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/usermenu.css" rel="stylesheet" />
</head>
<body>
    <div class="wf_all">
        <div id="divLoginInfo">
            <%=msBsc.WebUi.Code.QtHtmlGet.GetHeaderLoginInfo() %>
        </div>
        <div class="main-container">
            <div class="sidebar-scroll">
                <%=msBsc.WebUi.Code.QtHtmlGet.GetAgentDjackMenuHtml() %>
            </div>
            <div class="main-Info">
                <div class="listmenu">
                    <ul id="wSlist" class="list">
                        <li class="selected">
                            <a class="link"  href="javascript:;">
                                <span>个人资料</span>
                                <i class="interval">|</i>
                            </a>
                        </li>
                    </ul>
                    <div class="wrap-line">
                        <span id="sold-boder" class="line" style="left: 0px;"></span>
                    </div>
                </div>
                <div class="modle">
                    <ul class="main-horizontal">
                        <!-- BEGIN 头像 -->
                        <li>
                            <span class="control-span">头像<span class="required" style="display: none;">*</span></span>
                            <div class="controls">
                                <div style="display: inline; float: left;">
                                    <div class="uploadbox" data-count="1" style="display: block">
                                        <div class="pf-avatar-box">
                                            <img id="headImg" />
                                        </div>
                                    </div>
                                </div>
                                <div id="photoMessage" class="help-inline"></div>
                            </div>
                        </li>
                        <!-- END 头像 -->
                        <!-- BEGIN 昵称 -->
                        <li>
                            <span class="control-span">昵称<span class="required" style="display: none;">*</span></span><div class="controls" id="userName"></div>
                        </li>
                        <!-- END 昵称 -->
                        <!-- BEGIN 所在地 -->
                        <li>
                            <span class="control-span">所在地<span class="required" style="display: none;">*</span></span>
                            <div class="controls">
                                <span id="country"></span>
                            </div>
                        </li>
                        <!-- END 所在地 -->

                        <!-- BEGIN 性别 -->
                        <li>
                            <span class="control-span">性别<span class="required" style="display: none;">*</span></span><div class="controls" id="Sex"><span data-value="F"></span></div>
                        </li>
                        <!-- END 性别 -->

                        <!-- BEGIN 邀请路径 -->
                        <%--<li>
                            <span class="control-span">邀请地址</span><div class="controls" id="inviteUrl"></div>
                        </li>--%>
                        <!-- END 邀请路径 -->

                        <!-- BEGIN 简介 -->
                        <li>
                            <span class="control-span">简介<span class="required" style="display: none;">*</span></span><div class="controls" id="briefIntrodu"></div>
                        </li>
                        <!-- END 简介 -->

                        <!-- BEGIN QQ -->
                        <li>
                            <span class="control-span">QQ<span class="required" style="display: none;">*</span></span><div class="controls" id="txtQQ"></div>
                        </li>
                        <!-- END QQ -->

                        <!-- BEGIN 手机 -->
                        <li>
                            <span class="control-span">手机<span class="required" style="display: none;">*</span></span><div class="controls" id="txtMobile"></div>
                        </li>
                        <!-- END 手机 -->

                        <!-- BEGIN 座机 -->
                       <%-- <li>
                            <span class="control-span">座机</span><div class="controls" id="txtPhone"></div>
                        </li>--%>
                        <!-- END 座机 -->

                        <!-- BEGIN 微信 -->
                        <li>
                            <span class="control-span">微信</span><div class="controls" id="txtMicro"></div>
                        </li>
                        <!-- END 微信 -->

                        <!-- BEGIN 邮箱 -->
                        <li>
                            <span class="control-span">邮箱<span class="required" style="display: none;">*</span></span><div class="controls" id="txtEmail"></div>
                        </li>
                        <!-- END 邮箱 -->
                    </ul>
                    <!-- BEGIN 添加车辆按钮 -->
                    <%--<div class="form-actions" id="editButton">
                        <span onclick="editBasicInfo();" class="up-btn2 tm-skin-yellow2">编 辑</span>
                    </div>--%>
                    <!-- END 添加车辆按钮 -->
                </div>
            </div>
        </div>
        <!--start JS引用-->
        <script src="/jqPlugin/js/jquery-1.8.3.min.js"></script>
        <script src="/jqPlugin/js/jBase.js"></script>
        <script src="/jqPlugin/js/jBPage.js"></script>
        <script src="/jqPlugin/layer/layer.min.js"></script>
        <script src="/jqPlugin/js/laytpl.js"></script>
        <script src="/jqPlugin/laydate/laydate.js"></script>
        <!--end JS引用-->
        <script type="text/javascript">
            $(function () {
                $("#djackInfo a").attr("href", "javascript:;");

                var _jsParam = new jsonRow();
                _jsParam.AddCell("ACTION", "init");
                ajaxComm(_jsParam);
            })


            function setDjackInfo(data) {
                $("#headImg").attr("src", data.rows[0].CUSTOMER_DEFAULT_PIC + " 197x197img.jpg");
                $("#userName").text(data.rows[0].CUSTOMER_NICK);
                $("#country").text(data.rows[0].P_COUNTRY_NAME + "-" + data.rows[0].P_CITY_NAME + "-" + data.rows[0].P_DISTINATION_NAME);
                $("#Sex span").attr("data-value", data.rows[0].CUSTOMER_BASEINFO_GENDER);
                if (data.rows[0].CUSTOMER_BASEINFO_GENDER == "M") {
                    $("#Sex span").text("男");
                } else if (data.rows[0].CUSTOMER_BASEINFO_GENDER == "F") {
                    $("#Sex span").text("女");
                }
                $("#briefIntrodu").text(data.rows[0].CUSTOMER_BASEINFO_INTRO);
                $("#txtQQ").text(data.rows[0].CUSTOMER_BASEINFO_QQ);
                $("#txtPhone").text(data.rows[0].CUSTOMER_BASEINFO_PHONE);
                $("#txtMobile").text(data.rows[0].CUSTOMER_BASEINFO_MOBILE);
                $("#txtMicro").text(data.rows[0].CUSTOMER_WECHAT_NO);
                $("#txtEmail").text(data.rows[0].CUSTOMER_BASEINFO_EMAIL);
            }
        </script>
        <%=msBsc.WebUi.Code.QtHtmlGet.GetFloorHtml() %>
    </div>
</body>
</html>
